package com.springboot.mq.config;

import org.apache.activemq.command.ActiveMQQueue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import javax.jms.Queue;

/**
 * @author wangning
 * @create 2021-05-11 9:59
 */
@Configuration
public class BeanConfig {
	@Bean
	public Queue queue() {
		return new ActiveMQQueue("amq");
	}
}
